Integrand size = 28, antiderivative size = 338 \[ \int \frac {\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2}{x} \, dx=2 b^2 \sqrt {d+c^2 d x^2}-\frac {2 a b c x \sqrt {d+c^2 d x^2}}{\sqrt {1+c^2 x^2}}-\frac {2 b^2 c x \sqrt {d+c^2 d x^2} \text {arcsinh}(c x)}{\sqrt {1+c^2 x^2}}+\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2-\frac {2 \sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2 \text {arctanh}\left (e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}}-\frac {2 b \sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x)) \operatorname {PolyLog}\left (2,-e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}}+\frac {2 b \sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x)) \operatorname {PolyLog}\left (2,e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}}+\frac {2 b^2 \sqrt {d+c^2 d x^2} \operatorname {PolyLog}\left (3,-e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}}-\frac {2 b^2 \sqrt {d+c^2 d x^2} \operatorname {PolyLog}\left (3,e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}} \]
[Out]
Time = 0.25 (sec) , antiderivative size = 338, normalized size of antiderivative = 1.00, number of steps used = 12, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {5806, 5816, 4267, 2611, 2320, 6724, 5772, 267} \[ \int \frac {\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2}{x} \, dx=-\frac {2 \sqrt {c^2 d x^2+d} \text {arctanh}\left (e^{\text {arcsinh}(c x)}\right ) (a+b \text {arcsinh}(c x))^2}{\sqrt {c^2 x^2+1}}-\frac {2 b \sqrt {c^2 d x^2+d} \operatorname {PolyLog}\left (2,-e^{\text {arcsinh}(c x)}\right ) (a+b \text {arcsinh}(c x))}{\sqrt {c^2 x^2+1}}+\frac {2 b \sqrt {c^2 d x^2+d} \operatorname {PolyLog}\left (2,e^{\text {arcsinh}(c x)}\right ) (a+b \text {arcsinh}(c x))}{\sqrt {c^2 x^2+1}}+\sqrt {c^2 d x^2+d} (a+b \text {arcsinh}(c x))^2-\frac {2 a b c x \sqrt {c^2 d x^2+d}}{\sqrt {c^2 x^2+1}}+\frac {2 b^2 \sqrt {c^2 d x^2+d} \operatorname {PolyLog}\left (3,-e^{\text {arcsinh}(c x)}\right )}{\sqrt {c^2 x^2+1}}-\frac {2 b^2 \sqrt {c^2 d x^2+d} \operatorname {PolyLog}\left (3,e^{\text {arcsinh}(c x)}\right )}{\sqrt {c^2 x^2+1}}-\frac {2 b^2 c x \text {arcsinh}(c x) \sqrt {c^2 d x^2+d}}{\sqrt {c^2 x^2+1}}+2 b^2 \sqrt {c^2 d x^2+d} \]
[In]
[Out]
Rule 267
Rule 2320
Rule 2611
Rule 4267
Rule 5772
Rule 5806
Rule 5816
Rule 6724
Rubi steps \begin{align*} \text {integral}& = \sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2+\frac {\sqrt {d+c^2 d x^2} \int \frac {(a+b \text {arcsinh}(c x))^2}{x \sqrt {1+c^2 x^2}} \, dx}{\sqrt {1+c^2 x^2}}-\frac {\left (2 b c \sqrt {d+c^2 d x^2}\right ) \int (a+b \text {arcsinh}(c x)) \, dx}{\sqrt {1+c^2 x^2}} \\ & = -\frac {2 a b c x \sqrt {d+c^2 d x^2}}{\sqrt {1+c^2 x^2}}+\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2+\frac {\sqrt {d+c^2 d x^2} \text {Subst}\left (\int (a+b x)^2 \text {csch}(x) \, dx,x,\text {arcsinh}(c x)\right )}{\sqrt {1+c^2 x^2}}-\frac {\left (2 b^2 c \sqrt {d+c^2 d x^2}\right ) \int \text {arcsinh}(c x) \, dx}{\sqrt {1+c^2 x^2}} \\ & = -\frac {2 a b c x \sqrt {d+c^2 d x^2}}{\sqrt {1+c^2 x^2}}-\frac {2 b^2 c x \sqrt {d+c^2 d x^2} \text {arcsinh}(c x)}{\sqrt {1+c^2 x^2}}+\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2-\frac {2 \sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2 \text {arctanh}\left (e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}}-\frac {\left (2 b \sqrt {d+c^2 d x^2}\right ) \text {Subst}\left (\int (a+b x) \log \left (1-e^x\right ) \, dx,x,\text {arcsinh}(c x)\right )}{\sqrt {1+c^2 x^2}}+\frac {\left (2 b \sqrt {d+c^2 d x^2}\right ) \text {Subst}\left (\int (a+b x) \log \left (1+e^x\right ) \, dx,x,\text {arcsinh}(c x)\right )}{\sqrt {1+c^2 x^2}}+\frac {\left (2 b^2 c^2 \sqrt {d+c^2 d x^2}\right ) \int \frac {x}{\sqrt {1+c^2 x^2}} \, dx}{\sqrt {1+c^2 x^2}} \\ & = 2 b^2 \sqrt {d+c^2 d x^2}-\frac {2 a b c x \sqrt {d+c^2 d x^2}}{\sqrt {1+c^2 x^2}}-\frac {2 b^2 c x \sqrt {d+c^2 d x^2} \text {arcsinh}(c x)}{\sqrt {1+c^2 x^2}}+\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2-\frac {2 \sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2 \text {arctanh}\left (e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}}-\frac {2 b \sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x)) \operatorname {PolyLog}\left (2,-e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}}+\frac {2 b \sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x)) \operatorname {PolyLog}\left (2,e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}}+\frac {\left (2 b^2 \sqrt {d+c^2 d x^2}\right ) \text {Subst}\left (\int \operatorname {PolyLog}\left (2,-e^x\right ) \, dx,x,\text {arcsinh}(c x)\right )}{\sqrt {1+c^2 x^2}}-\frac {\left (2 b^2 \sqrt {d+c^2 d x^2}\right ) \text {Subst}\left (\int \operatorname {PolyLog}\left (2,e^x\right ) \, dx,x,\text {arcsinh}(c x)\right )}{\sqrt {1+c^2 x^2}} \\ & = 2 b^2 \sqrt {d+c^2 d x^2}-\frac {2 a b c x \sqrt {d+c^2 d x^2}}{\sqrt {1+c^2 x^2}}-\frac {2 b^2 c x \sqrt {d+c^2 d x^2} \text {arcsinh}(c x)}{\sqrt {1+c^2 x^2}}+\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2-\frac {2 \sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2 \text {arctanh}\left (e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}}-\frac {2 b \sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x)) \operatorname {PolyLog}\left (2,-e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}}+\frac {2 b \sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x)) \operatorname {PolyLog}\left (2,e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}}+\frac {\left (2 b^2 \sqrt {d+c^2 d x^2}\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,-x)}{x} \, dx,x,e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}}-\frac {\left (2 b^2 \sqrt {d+c^2 d x^2}\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,x)}{x} \, dx,x,e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}} \\ & = 2 b^2 \sqrt {d+c^2 d x^2}-\frac {2 a b c x \sqrt {d+c^2 d x^2}}{\sqrt {1+c^2 x^2}}-\frac {2 b^2 c x \sqrt {d+c^2 d x^2} \text {arcsinh}(c x)}{\sqrt {1+c^2 x^2}}+\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2-\frac {2 \sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2 \text {arctanh}\left (e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}}-\frac {2 b \sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x)) \operatorname {PolyLog}\left (2,-e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}}+\frac {2 b \sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x)) \operatorname {PolyLog}\left (2,e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}}+\frac {2 b^2 \sqrt {d+c^2 d x^2} \operatorname {PolyLog}\left (3,-e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}}-\frac {2 b^2 \sqrt {d+c^2 d x^2} \operatorname {PolyLog}\left (3,e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}} \\ \end{align*}
Time = 0.98 (sec) , antiderivative size = 352, normalized size of antiderivative = 1.04 \[ \int \frac {\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2}{x} \, dx=a^2 \sqrt {d+c^2 d x^2}+a^2 \sqrt {d} \log (c x)-a^2 \sqrt {d} \log \left (d+\sqrt {d} \sqrt {d+c^2 d x^2}\right )+\frac {2 a b \sqrt {d+c^2 d x^2} \left (-c x+\sqrt {1+c^2 x^2} \text {arcsinh}(c x)+\text {arcsinh}(c x) \log \left (1-e^{-\text {arcsinh}(c x)}\right )-\text {arcsinh}(c x) \log \left (1+e^{-\text {arcsinh}(c x)}\right )+\operatorname {PolyLog}\left (2,-e^{-\text {arcsinh}(c x)}\right )-\operatorname {PolyLog}\left (2,e^{-\text {arcsinh}(c x)}\right )\right )}{\sqrt {1+c^2 x^2}}+\frac {b^2 \sqrt {d+c^2 d x^2} \left (2 \sqrt {1+c^2 x^2}-2 c x \text {arcsinh}(c x)+\sqrt {1+c^2 x^2} \text {arcsinh}(c x)^2+\text {arcsinh}(c x)^2 \log \left (1-e^{-\text {arcsinh}(c x)}\right )-\text {arcsinh}(c x)^2 \log \left (1+e^{-\text {arcsinh}(c x)}\right )+2 \text {arcsinh}(c x) \operatorname {PolyLog}\left (2,-e^{-\text {arcsinh}(c x)}\right )-2 \text {arcsinh}(c x) \operatorname {PolyLog}\left (2,e^{-\text {arcsinh}(c x)}\right )+2 \operatorname {PolyLog}\left (3,-e^{-\text {arcsinh}(c x)}\right )-2 \operatorname {PolyLog}\left (3,e^{-\text {arcsinh}(c x)}\right )\right )}{\sqrt {1+c^2 x^2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(763\) vs. \(2(353)=706\).
Time = 0.32 (sec) , antiderivative size = 764, normalized size of antiderivative = 2.26
method | result | size |
default | \(-\sqrt {d}\, \ln \left (\frac {2 d +2 \sqrt {d}\, \sqrt {c^{2} d \,x^{2}+d}}{x}\right ) a^{2}+a^{2} \sqrt {c^{2} d \,x^{2}+d}+b^{2} \left (\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \left (c^{2} x^{2}+c x \sqrt {c^{2} x^{2}+1}+1\right ) \left (\operatorname {arcsinh}\left (c x \right )^{2}-2 \,\operatorname {arcsinh}\left (c x \right )+2\right )}{2 c^{2} x^{2}+2}+\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \left (c^{2} x^{2}-c x \sqrt {c^{2} x^{2}+1}+1\right ) \left (\operatorname {arcsinh}\left (c x \right )^{2}+2 \,\operatorname {arcsinh}\left (c x \right )+2\right )}{2 c^{2} x^{2}+2}-\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right )^{2} \ln \left (1+c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}-\frac {2 \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right ) \operatorname {polylog}\left (2, -c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}+\frac {2 \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (3, -c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}+\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right )^{2} \ln \left (1-c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}+\frac {2 \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right ) \operatorname {polylog}\left (2, c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}-\frac {2 \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (3, c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}\right )+\frac {2 a b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right ) x^{2} c^{2}}{c^{2} x^{2}+1}-\frac {2 a b \sqrt {d \left (c^{2} x^{2}+1\right )}\, c x}{\sqrt {c^{2} x^{2}+1}}+\frac {2 a b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right )}{c^{2} x^{2}+1}+\frac {2 a b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right ) \ln \left (1-c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}+\frac {2 a b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (2, c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}-\frac {2 a b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right ) \ln \left (1+c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}-\frac {2 a b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (2, -c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}\) | \(764\) |
parts | \(-\sqrt {d}\, \ln \left (\frac {2 d +2 \sqrt {d}\, \sqrt {c^{2} d \,x^{2}+d}}{x}\right ) a^{2}+a^{2} \sqrt {c^{2} d \,x^{2}+d}+b^{2} \left (\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \left (c^{2} x^{2}+c x \sqrt {c^{2} x^{2}+1}+1\right ) \left (\operatorname {arcsinh}\left (c x \right )^{2}-2 \,\operatorname {arcsinh}\left (c x \right )+2\right )}{2 c^{2} x^{2}+2}+\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \left (c^{2} x^{2}-c x \sqrt {c^{2} x^{2}+1}+1\right ) \left (\operatorname {arcsinh}\left (c x \right )^{2}+2 \,\operatorname {arcsinh}\left (c x \right )+2\right )}{2 c^{2} x^{2}+2}-\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right )^{2} \ln \left (1+c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}-\frac {2 \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right ) \operatorname {polylog}\left (2, -c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}+\frac {2 \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (3, -c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}+\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right )^{2} \ln \left (1-c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}+\frac {2 \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right ) \operatorname {polylog}\left (2, c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}-\frac {2 \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (3, c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}\right )+\frac {2 a b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right ) x^{2} c^{2}}{c^{2} x^{2}+1}-\frac {2 a b \sqrt {d \left (c^{2} x^{2}+1\right )}\, c x}{\sqrt {c^{2} x^{2}+1}}+\frac {2 a b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right )}{c^{2} x^{2}+1}+\frac {2 a b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right ) \ln \left (1-c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}+\frac {2 a b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (2, c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}-\frac {2 a b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right ) \ln \left (1+c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}-\frac {2 a b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (2, -c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}\) | \(764\) |
[In]
[Out]
\[ \int \frac {\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2}{x} \, dx=\int { \frac {\sqrt {c^{2} d x^{2} + d} {\left (b \operatorname {arsinh}\left (c x\right ) + a\right )}^{2}}{x} \,d x } \]
[In]
[Out]
\[ \int \frac {\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2}{x} \, dx=\int \frac {\sqrt {d \left (c^{2} x^{2} + 1\right )} \left (a + b \operatorname {asinh}{\left (c x \right )}\right )^{2}}{x}\, dx \]
[In]
[Out]
\[ \int \frac {\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2}{x} \, dx=\int { \frac {\sqrt {c^{2} d x^{2} + d} {\left (b \operatorname {arsinh}\left (c x\right ) + a\right )}^{2}}{x} \,d x } \]
[In]
[Out]
Exception generated. \[ \int \frac {\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2}{x} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))^2}{x} \, dx=\int \frac {{\left (a+b\,\mathrm {asinh}\left (c\,x\right )\right )}^2\,\sqrt {d\,c^2\,x^2+d}}{x} \,d x \]
[In]
[Out]